package com.app.service;

import com.app.model.AreaModel;
import com.app.model.CategoryModel;
import com.app.model.PermissionModel;

import java.util.List;

public  interface AreaService {
    List<AreaModel> selectCity();

    List<AreaModel> selectTown(Integer id);

    List<AreaModel> selectVillage(Integer id);

    List<AreaModel> selectTree();

    AreaModel selectById(Integer integer);

    List<AreaModel> selectVillageByLevel();

    void deleteCategory(Integer id);

    void update(AreaModel model);

    void insert(AreaModel model);

    AreaModel getAreaById(Integer id);
}
